REPLICATION INFORMATION

These replication files allow one to replicate the tables, figures, and results reported in
	"Top-Category Inflation in Ordered International Relations Outcomes,"
	as well as those reported in its Supplemental Appendix. 

In addition to this readme file, the set of uploaded replication materials include:

1. An "Main Paper" folder, that contains the following: 
	(a) An R script ("Figure1.R") that includes all code necessary to implement the frequency plots reported in the main paper's Figure 1. This script utilizes flexibility_depth_compatable.dta and GSW_updated.dta.
	(b) An R script ("Figure2.R") that includes all code necessary to implement the inflation-stage effect plot reported in Figure 2 of the main paper. This script utilizes flexibility_depth_compatable.dta, OP_Model.R, ZMTIOP_Model.R, and ZMTIOPC_Model.R.
	(c) An R script ("Figure3.R") that includes all code necessary to implement the outcome-stage effect plot reported in Figure 3 of the main paper. This script utilizes flexibility_depth_compatable.dta, OP_Model.R, ZMTIOP_Model.R, and ZMTIOPC_Model.R
	(d) An R script ("Table1.R") that includes all code necessary to implement the estimates & related quantities reported in Table 1 of the main paper. This script utilizes flexibility_depth_compatable.dta, OP_Model.R, ZMTIOP_Model.R, and ZMTIOPC_Model.R


2. An "Appendix" folder, which contains the following:
	(a) An R script ("FiguresA.1toA.2andA.5toA.14.R") that includes all code necessary to implement the plots reported in Figures A.1-A.2 and A.5-A.14 of the Appendix. The script uitlizes: baccini_topcat.dta, Girod_topcat.csv, isq2data.dta, piazza_topcat.dta, BMReplicationData.dta, Brysk_topcat.csv, Lupu_Main.dta, smithdata.dta, carteretal.dta, Econthreat.dta, eco_threat.dta, Kreutz_Nussio_survey.dta, Kreutz_Nussio_survey.dta, and main_kava.dta.
	(b) An R script ("TableA.2.R") that includes all code necessary to implement the summary statistics reported in Table A.2 of the Appendix. This script utilizes flexibility_depth_compatable.dta.
	(c) An R script ("TableA.4toA.5.R") that includes all code necessary to implement the summary statistics reported in Table A.4 of the Appendix, and the model results reported in Table A.5. This script utilizes GSW_updated.dta, OP_Model.R, ZMTIOP_Model.R, and ZMTIOPC_Model.R.
	(d) An R script ("FigureA.3.R") that includes all code necessary to implement the inflation-stage effect plot reported in Figure A.3 of the Appendix. This script utilizes GSW_updated.dta, OP_Model.R, ZMTIOP_Model.R, and ZMTIOPC_Model.R
	(e) An R script ("FigureA.4.R") that includes all code necessary to implement the outcome-stage effect plot reported in Figure A.4 of the Appendix. This script utilizes GSW_updated.dta, OP_Model.R, ZMTIOP_Model.R, and ZMTIOPC_Model.R
	(f) A "TableA8FigureA15" subfolder that contains the relevant scripts and input files for replicating Table A.8 and Figure A.15. Note that the table output in this case is saved as a formatted LaTeX table.
	(g) A "TableA9FigureA16" subfolder that contains the relevant scripts and input files for replicating Table A.9 and Figure A.16. Note that the table output in this case is saved as a formatted LaTeX table.
	(h) A "TableA10FigureA17" subfolder that contains the relevant scripts and input files for replicating Table A.10 and Figure A.17. Note that the table output in this case is saved as a formatted LaTeX table.
	(i) A "TableA11FigureA18" subfolder that contains the relevant scripts and input files for replicating Table A.11 and Figure A.18. Note that the table output in this case is saved as a formatted LaTeX table.
	(j) A "TableA12FigureA19" subfolder that contains the relevant scripts and input files for replicating Table A.12 and Figure A.19. Note that the table output in this case is saved as a formatted LaTeX table.
	(k) A "TableA13FigureA20" subfolder that contains the relevant scripts and input files for replicating Table A.13 and Figure A.20. Note that the table output in this case is saved as a formatted LaTeX table.

R-packages utilized across the above scripts: foreign, mvtnorm, ggplot2, plotrix, MASS, Matrix, and nlme.

Should you have any questions about these files, please contact Benjamin Bagozzi at bagozzib@udel.edu.
